/***
 * @description: js集中管理请求接口地址配置
 * @author: white_queen
 */
const apis = {
	// 首页接口
	index: {
		index: "/index/index"
	},
	// 登录
	login: {
		login: "/login/login",
		sendSms: "/login/sendSms",
		register: "/login/register",
		loginByPass: "/login/loginByPass"
	},
	test: {
		test: "/test/getUserById"
	},
	user: {
		edit: "/user/edit",
		changePwd: "/user/changePwd",
		approval: "/user/approval",
		info: "/user/info",
		apply: "/user/apply",
		list: "/user/list",
		recharge: "/user/recharge",

	},
	follow: {
		list: "/follow/list",
		del: "/follow/del",
		add: "/follow/add",
	},
	shop: {
		list: "/shop/list",
		add: "/shop/add",
		info: "/shop/info",
		userinfo: "/shop/userinfo"
	},
	products: {
		save: "/products/save",
		like: "/products/like",
		productDetail: "/products/productDetail",
		update: "/products/update",
		list: "/products/list",
	},
	productstype: {
		list: "/productstype/list"
	},
	productInfo: {
		list: "/productInfo/list",
		info: "/productInfo/info",
		del: "/productInfo/del",
		edit: "/productInfo/edit",
		add: "/productInfo/add",
	},
	order: {
		list: "/order/list",
		info: "/order/info",
		del: "/order/del",
		edit: "/order/edit",
		add: "/order/add",
	}
}

export default apis